package org.bluedream.core.module.sys.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;


/**
 * @ClassName layTipsController
 * @Description TODO
 * @Author foxsand
 * @Data 2021-07-14 16:37
 * @Version
 */
@Slf4j
@Controller
@RequestMapping(value = "${adminPath}/layTips")
public class LayTipsController {
    @RequestMapping("/treeSelectForm")
    public String treeSelectForm(boolean isUpdateTree ,Model model){
        boolean flag = false;
        if (isUpdateTree){
            flag = true;
        }
        model.addAttribute("isUpdateTree" , flag);
        return "include/treeSelectForm";
    }
}
